﻿using System;
using System.Diagnostics;
using InseSoft.ViewModels;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace InseSoft.Tests.Unit.ViewModels
{
    [TestClass]
    public class BaseCatalogEntityViewModelTest
    {
        [TestMethod]
        [ExpectedException(typeof(NotImplementedException))]
        public void Initialize_ExceptionThrown()
        {
            new BaseCatalogEntityViewModel().Initialize();
        }

        [TestMethod]
        [ExpectedException(typeof(NotImplementedException))]
        public void IsItemSelected_ExceptionThrown()
        {
            var instance = new BaseCatalogEntityViewModel();
            var value = instance.IsItemSelected;
            Debug.WriteLine("IsItemSelected: " + value);
        }

        [TestMethod]
        [ExpectedException(typeof(NotImplementedException))]
        public void Dispose_ExceptionThrown()
        {
            new BaseCatalogEntityViewModel().Dispose();
        }
    }
}
